﻿@model DomenModel.Item

@{
    ViewBag.Title = "Delete";
}
<h3>Are you sure you want to delete this?</h3>
<div>
<table class="create-user-table">
            <tr>
                <td>@Html.LabelFor(model => model.Name)</td>
                <td><h4>@Html.DisplayFor(model => model.Name)</h4></td>

            </tr>

            <tr>
                <td>@Html.LabelFor(model => model.Description)</td>
                <td><h4>@Html.DisplayFor(model => model.Description)</h4></td>
  
            </tr>

            <tr>
                <td>@Html.LabelFor(model => model.ItemPrice)</td>
                <td><h4>@Html.DisplayFor(model => model.ItemPrice)</h4></td>

            </tr>
        </table>

</div>
@using (Html.BeginForm()) {
    <p class="buttons-margin">
        <input type="submit" value="Delete" class="buttons-red" /> 
        @Html.ActionLink("Back to List", "Index",null,new { @class="buttons-blue"})
    </p>
}
